home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / FCOPY31.ARJ / WHATS.NEW < prev   
Text File  |  1992-05-12  |  3KB  |  67 lines

  1. FCOPY 3.1 - May 12, 1992
  2.  
  3. There was a bug in the truename function that would cause a crash when
  4. using a DOS version earlier than 3.0 in a large data model.  This has
  5. been fixed in this release.
  6.  
  7. Also, most of the assembler modules have been revised.  Functions now
  8. make no assumptions about the setting of DS upon entry.  In large data
  9. models (compact and large models) DS is set to the default data segment
  10. so that the global variables errno and _doserrno can be set upon error.
  11. Similarly, in the huge model DS is set to the segment containing errno
  12. and _doserrno.  This distinction is necessary since Turbo C/C++ does not
  13. use a default data segment in the huge model -- all huge modules have
  14. their own data segment.  Microsoft C/C++ compilers do not treat the huge
  15. model in this way; however, these functions will work with either
  16. Borland or Microsoft compilers.
  17.  
  18. ------------------------------------------------------------------------
  19.  
  20. FCOPY 3.0 - April 19, 1992
  21.  
  22. In this version, the function _fcopy was renamed to fcopy (without the
  23. leading underscore).  Source code using an earlier version needs to be
  24. changed accordingly.
  25.  
  26. This version adds a new function (truename) which gets the canonical
  27. (fully qualified) path name, given a filename specification.  fcopy uses
  28. this function to determine if the source and target filespecs actually
  29. refer to the same file.  truename requires DOS 3.0 or later, so there is
  30. only limited protection against attempts to copy a file onto itself with
  31. earlier versions of DOS.  If anyone is REALLY interested, I might add a
  32. DOS 2.X capability to truename.  I didn't make the effort in this
  33. particular version because I suspect there are relatively few people
  34. still using DOS versions below 3.0.  truename is a general purpose
  35. function that can be used in other programs.
  36.  
  37. Another new general purpose function (strtrim) has also been added.
  38. This function trims leading and trailing whitespace from a string.  Most
  39. DOS functions that take a filespec as a parameter expect the string to
  40. have no leading or trailing spaces, and strtrim can be used ahead of
  41. these calls to ensure that the filespec is properly formed.
  42.  
  43. Also included are the original file read and write functions: farread
  44. and farwrite.  While not used in fcopy since version 1.1, they are still
  45. useful general purpose functions, especially when large file buffers are
  46. needed for speed.
  47.  
  48. All of the above are written in assembler and support all memory models.
  49.  
  50. At the request of several people, I have compiled/assembled all of the
  51. modules for each memory model and have included them in this archive as
  52. libraries.  They are named FCOPYx.LIB, where x designates the memory
  53. model used: S = small, M = medium, C = compact, L = large, H = Huge.
  54. Most any library utility can be used to extract the object modules as
  55. desired.
  56.  
  57. Finally, for those who like things simpler, also included is the archive
  58. file FCOPY21.  This is smaller than the 3.X version, but does not
  59. protect against attempts to copy a file onto itself.  If this isn't
  60. important to you, the 2.1 version may be all you need.
  61.  
  62. ------------------------------------------------------------------------
  63.  
  64. Ray Waters
  65. CompuServe ID 72261,33
  66. May 12, 1992
  67.